<!-- 查找病毒恶搞 -->
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>系统安全检查</title>
    <style>
        body {
            background: #0a0a3a;
            color: #fff;
            font-family: '微软雅黑';
            margin: 0;
            overflow: hidden;
        }
        .container {
            padding: 50px;
            max-width: 800px;
            margin: 100px auto;
            border: 3px solid red;
        }
        #progressBar {
            width: 0%;
            height: 30px;
            background: #00ff00;
            transition: width 0.5s;
            margin: 20px 0;
        }
        .virus-alert {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: #ff4444;
            padding: 20px;
            border: 5px dashed yellow;
            display: none;
        }
        .crazy-cursor {
            animation: shake 0.1s infinite;
        }
        @keyframes shake {
            0% { transform: translate(2px, 1px); }
            50% { transform: translate(-1px, 2px); }
            100% { transform: translate(-2px, -1px); }
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>🛡️ 正在扫描系统病毒... (进度 0%)</h1>
        <div id="progressBar"></div>
        <p>检测到危险程序！请勿关闭本窗口！</p>
    </div>

    <div class="virus-alert" id="alert">
        <h2>⚠️ 严重警告！</h2>
        <p>检测到327个病毒！</p>
        <button onclick="activateChaos()">立即清除</button>
    </div>

    <audio id="scream">
        <source src="https://assets.mixkit.co/active_storage/sfx/2868/2868-preview.mp3" type="audio/mpeg">
    </audio>

    <script>
        // 第一阶段：假进度条
        let progress = 0;
        const progressBar = document.getElementById('progressBar');
        const timer = setInterval(() => {
            progress += Math.random()*3;
            progressBar.style.width = progress + '%';
            document.title = `扫描中 ${Math.min(100, Math.floor(progress))}%`;
            if(progress >= 100) {
                clearInterval(timer);
                document.querySelector('.container').innerHTML = `
                    <h1>🎉 扫描完成！</h1>
                    <p>发现${Math.floor(Math.random()*1000)}个问题，正在自动修复...</p>
                `;
                setTimeout(showVirusAlert, 2000);
            }
        }, 500);

        // 第二阶段：病毒警告弹窗
        function showVirusAlert() {
            document.getElementById('alert').style.display = 'block';
        }

        // 第三阶段：激活混乱模式
        function activateChaos() {
            // 全屏抖动
            document.body.classList.add('crazy-cursor');
            
            // 播放音效
            document.getElementById('scream').play();
            
            // 鼠标干扰
            document.addEventListener('mousemove', function(e) {
                window.scrollTo(
                    e.clientX - window.innerWidth/2,
                    e.clientY - window.innerHeight/2
                );
            });

            // 键盘锁定
            document.addEventListener('keydown', function(e) {
                e.preventDefault();
                alert('键盘已被锁定！输入"520"解除');
            });

            // 随机弹出图片
            setInterval(() => {
                const img = new Image();
                img.src = 'https://picsum.photos/200/300?random='+Math.random();
                img.style.position = 'fixed';
                img.style.top = Math.random()*80 + '%';
                img.style.left = Math.random()*80 + '%';
                img.style.transform = `rotate(${Math.random()*360}deg)`;
                document.body.appendChild(img);
            }, 3000);

            // 隐藏关闭按钮
            window.onbeforeunload = function() {
                return "关闭将导致系统崩溃！";
            };
        }
    </script>
</body>
</html>
